package onlineclass.dao;

import onlineclass.entity.OMajor;
import onlineclass.entity.OUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OMajorMapper {
    public int add(OMajor oMajor);
    public int update(OMajor oMajor);
    public int del(long id);
    public OMajor get(long id);
    public List<OMajor> find(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize, @Param("name") String name);
}
